package com.xunwulian.base.constant;

import com.xunwulian.base.util.EnumType;

/**
 * 交易状态
 */
public enum TransType implements EnumType<TransType, Integer, String> {

    WEIXIN_PAY(0, "微信充值"),
    ZFB_PAY(1, "支付宝充值"),
    HAND_PAY(2, "人工充值"),
    SMS_CONSUME(3, "短信消费"),
    UNKNOWN(99, "未知");

    public Integer status;
    public String desc;

    TransType(int status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    @Override
    public Integer getType() {
        return this.status;
    }

    @Override
    public String getDesc() {
        return this.desc;
    }


}
